package com.google.denta.service;

import java.util.List;
import java.util.Map;

/**
 * Service for persones.
 * @author Siarhei_Sabetski
 * 
 */
public interface PaginatorService<T> {
    void setOptions(Map<String, Object> map, Long page, String search, String asc, String desc);

    List<T> getCurrentPage(String sqlMap, Map<String, Object> map);

    Long countPages(String sqlMap, Map<String, Object> map);

}
